#include "log.hpp"
#include <memory>
#include "Threadpool.hpp"
using namespace logmodule;
using namespace Threadpoolmodule;
int main()
{
    EnableCon();
    ThreadPool<int> *tp = new ThreadPool<int>();
    tp->start();
    sleep(5);
    tp->start();
    
    // //定义一个日志对象
    //  log.enablefile();
    //  log (loglevel::DEBUG,"main.cc",10) <<"hello";
     
}